package com.un.ebs.order.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.un.ebs.core.enums.IEnum;
import lombok.Getter;

/**
 * @author Administrator
 * <p>
 * 订单的付款状态
 */

@Getter
public enum PaymentStatusEnum implements IEnum {

    NotPayment(0, "未支付"),

    Deposit(1, "已付定金"),

    Complete(2, "已付款");


    PaymentStatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @EnumValue
    private final int code;

    private final String desc;
}
